provider Releases PUT /api/0/organizations/{organization_id_or_slug}/releases/{version}/
@utdk/sentry /api/0/organizations/{organization_id_or_slug}/releases/{version}/
Update an Organization's Release
Update a release. This can change some metadata associated with the release (the ref, url, and dates).
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
version path required
The version identifier of the release
string

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateAnOrganizationSRelease
PUT/api/0/organizations/{organization_id_or_slug}/releases/{version}/
Update a release. This can change some metadata associated with the release (the ref, url, and dates).

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The version identifier of the release

Input

An optional commit reference. This is useful if a tagged version has been provided.

A URL that points to the release. For instance, this can be the path to an online interface to the source code, such as a GitHub URL.

An optional date that indicates when the release went live. If not provided the current time is used.

An optional list of commit data to be associated.

An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters ``repository`` and ``commit`` (the HEAD SHA). For GitLab repositories, please use the Group name instead of the slug. They can optionally include ``previousCommit`` (the SHA of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.updateAnOrganizationSRelease()